package com.shanghaionstar.test.service;

import com.onstar.cn.auth.userProfile.Subscriber;
import com.onstar.cn.auth.userProfile.request.UserProfileRequest;

import java.util.Map;

import retrofit2.http.Body;
import retrofit2.http.HeaderMap;
import retrofit2.http.Headers;
import retrofit2.http.PUT;
import rx.Observable;


//	/msp/api/v3/user/subscriber/{idpID}/accounts/{accountID}/vehicles/{vin}/vehicle_image

//   /msp/api/v3/user/subscriber/{idpID}/accounts/{accountID}/vehicles/{vin}/packages/paytype/{payType}/orders/{orderID}

public interface UsersService {
    String PATH = "/msp/api/v3/user";

    @PUT(PATH + "/info3/profile")
    @Headers({
            "Accept:application/json",
            "Accept-Language:zh-CN"
    })
    Observable<Subscriber> getUserProfile(@HeaderMap Map<String,String> headers, @Body UserProfileRequest body);

}
